<?php
header('Content-Type:text/html; Charset=UTF-8');
?>
<!DOCTYPE html>
<html>
   <head>
      <title>手机通讯录</title>
	  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" charset="UTF-8" >
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <link href="css/bootstrap.min.css" rel="stylesheet">
      <script src="js/jquery-1.11.1.min.js"></script>
      <script src="js/bootstrap.min.js"></script>
      <!--[if lt IE 9]>
         <script src="js/html5shiv.js"></script>
         <script src="js/respond.min.js"></script>
      <![endif]-->
   </head>
   <body>
    <?php if(!empty($mes)){ ?>
		<div class="alert alert-warning">
			<span class="close" data-dismiss="alert">&times;</span>
			<?php echo $mes;?>
		</div>
	<?php } ?>
   <form action="dologin.php" method="post">
	      <div class="modal-dialog">
	      	<div class="modal-content">
	      		<div class="modal-header">
	      			<h1>通讯录用户登录</h1>
	      		</div>
	      		<div class="modal-body">
				<div class="content">
					<div class="row">
						<div class="col-xs-12">
							<div class="form-horizontal">
								  <div class="form-group">
									<label class="col-xs-3 control-label" for="33">登录名：</label>
									<div class="col-xs-9">
										<div class="input-group">
											<span class="input-group-addon"><span class="glyphicon glyphicon-user"></span></span>
										<input id="33" class="form-control" name="login" value='<?php @print($login); ?>'/>
										</div>
									</div>
								</div>
								<div class="form-group">
									<label class="col-xs-3 control-label" for="77">密码：</label>
									<div class="col-xs-9">
										<div class="input-group">
											<span class="input-group-addon"><span class="glyphicon glyphicon-lock"></span></span>
										<input class="form-control" id="77" name="password"/>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
	      		<div class="modal-footer">
	      			<button type="submit" class="btn btn-primary btn-lg btn-block">登录</button>
	      		</div>
	      	</div>
	     </div>
  </form>
  </body>
</html>